<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="MvcContrib.FluentHtml.ModelViewPage<Universum.Model.Domain.Blogs.BlogArticle>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Universum - Article details
</asp:Content>
<asp:Content ID="BreadcrumbsContent" ContentPlaceHolderID="Breadcrumbs" runat="server">
<%= Html.Breadcrumb().Home().Append<BlogsController>(c => c.Index(),"Posts from "+ ( Model.Username?? "blog")).AppendText("Details: " + Model.Title).End()%>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <fieldset>
        <legend>Article details</legend>
       
        <p>
            Friendly url:
            <%= Html.Encode(Model.Slug) %>
        </p>
        <p>
            Title:
            <%= Html.Encode(Model.Title) %>
        </p>
        <p>
            Text:
            <%= Model.Text %>
        </p>
        <p>
            Publish:
            <%= Html.Encode(String.Format("{0:D}", Model.Publish)) %>
        </p>
        <p>
            Created:
            <%= Html.Encode(String.Format("{0:D}", Model.Created)) %>
        </p>
        
    </fieldset>
    <p>
        <%=Html.UserActionLink<BlogArticleController>(controller=>controller.Edit(Model.ID),"Edit post") %> 
    </p>

</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="ScriptPlaceHolder" runat="server">
</asp:Content>

